aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-unlisted].yaml')
-rw-r--r--tests/cassettes/test_status_post[Content warning-unlisted].yaml30
1 files changed, 13 insertions, 17 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-unlisted].yaml b/tests/cassettes/test_status_post[Content warning-unlisted].yaml
index 63e3487..c32f337 100644
--- a/tests/cassettes/test_status_post[Content warning-unlisted].yaml
+++ b/tests/cassettes/test_status_post[Content warning-unlisted].yaml
@@ -12,11 +12,9 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"102315368814935289","created_at":"2019-06-22T13:03:50.609Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 15 body: {string: '{"id":"102317293305724845","created_at":"2019-06-22T21:13:16.008Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
16 warning","visibility":"unlisted","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368814935289","url":"http://localhost/@mastodonpy_test/102315368814935289","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 16 warning","visibility":"unlisted","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293305724845","url":"http://localhost/@mastodonpy_test/102317293305724845","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
18 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
19 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
20 headers: 18 headers:
21 Cache-Control: ['no-cache, no-store'] 19 Cache-Control: ['no-cache, no-store']
22 Content-Type: [application/json; charset=utf-8] 20 Content-Type: [application/json; charset=utf-8]
@@ -27,10 +25,10 @@ interactions:
27 X-Download-Options: [noopen] 25 X-Download-Options: [noopen]
28 X-Frame-Options: [SAMEORIGIN] 26 X-Frame-Options: [SAMEORIGIN]
29 X-Permitted-Cross-Domain-Policies: [none] 27 X-Permitted-Cross-Domain-Policies: [none]
30 X-Request-Id: [65e8f642-2422-458d-941d-1f681a6cc3d8] 28 X-Request-Id: [5cc00595-fde6-4760-8045-4a08bba805f9]
31 X-Runtime: ['0.152191'] 29 X-Runtime: ['0.142482']
32 X-XSS-Protection: [1; mode=block] 30 X-XSS-Protection: [1; mode=block]
33 content-length: ['1613'] 31 content-length: ['1252']
34 status: {code: 200, message: OK} 32 status: {code: 200, message: OK}
35- request: 33- request:
36 body: null 34 body: null
@@ -42,13 +40,11 @@ interactions:
42 Content-Length: ['0'] 40 Content-Length: ['0']
43 User-Agent: [python-requests/2.18.4] 41 User-Agent: [python-requests/2.18.4]
44 method: DELETE 42 method: DELETE
45 uri: http://localhost:3000/api/v1/statuses/102315368814935289 43 uri: http://localhost:3000/api/v1/statuses/102317293305724845
46 response: 44 response:
47 body: {string: '{"id":"102315368814935289","created_at":"2019-06-22T13:03:50.609Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 45 body: {string: '{"id":"102317293305724845","created_at":"2019-06-22T21:13:16.008Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
48 warning","visibility":"unlisted","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368814935289","url":"http://localhost/@mastodonpy_test/102315368814935289","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py 46 warning","visibility":"unlisted","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293305724845","url":"http://localhost/@mastodonpy_test/102317293305724845","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
49 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 47 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
50 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
51 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
52 headers: 48 headers:
53 Cache-Control: ['no-cache, no-store'] 49 Cache-Control: ['no-cache, no-store']
54 Content-Type: [application/json; charset=utf-8] 50 Content-Type: [application/json; charset=utf-8]
@@ -59,9 +55,9 @@ interactions:
59 X-Download-Options: [noopen] 55 X-Download-Options: [noopen]
60 X-Frame-Options: [SAMEORIGIN] 56 X-Frame-Options: [SAMEORIGIN]
61 X-Permitted-Cross-Domain-Policies: [none] 57 X-Permitted-Cross-Domain-Policies: [none]
62 X-Request-Id: [c8ca7047-d5af-482e-9771-2335c53b9243] 58 X-Request-Id: [43abb3db-9f28-4ee6-847a-18c383b48f28]
63 X-Runtime: ['0.088273'] 59 X-Runtime: ['0.118485']
64 X-XSS-Protection: [1; mode=block] 60 X-XSS-Protection: [1; mode=block]
65 content-length: ['1583'] 61 content-length: ['1222']
66 status: {code: 200, message: OK} 62 status: {code: 200, message: OK}
67version: 1 63version: 1
Powered by cgit v1.2.3 (git 2.41.0)